<?xml version="1.0" encoding="UTF-8"?>
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>MTurk Survey Consent</title>
</head>
<body>
	<div style="font-family:sans-serif;margin-left:10%;margin-right:10%;">
		<p style="font-weight:bold;margin-left:25%;margin-right:25%;font-size:2em;">10-minute Survey</p>
		<p>You are being asked to participate in a research study. Please read the consent form below. By accepting this HIT and completing the survey, you consent to participation in the study. <em>The link to the survey will appear once you accept the HIT.</em> This study is sponsored by Northwestern University in Evanston, IL. All responses are completely confidential.</p>
		<p>If you do not wish to participate, return this HIT.</p>
		<p>If you wish to participate, please click the link below. At that website you'll be asked to read a few short paragraphs of text and answer a few questions about each paragraph. It should take about 10 minutes to complete. When you reach the end of the survey, you'll be asked to a copy a code and paste that into the text box below to confirm your completion of the survey.</p>
		<p>&nbsp;</p>
		<p><em>By accepting this MTurk HIT and completing the survey (at the link below), you are agreeing to participate in the research study described above.</em></p>
		<script language="javascript">
			var fullurl=new String();
			
			// THIS LINE ACTUALLY RETRIEVES THE URL (BUT WON'T WORK EXCEPT ON ACTUAL MTURK SITE):
			var fullurl=document.location.href;
			
			// SPLITS THE URL
			var bits = new Array();
			bits = fullurl.split("?");
			parameters = bits[1].split("&");
			
			// ASSIGNS THE URL PARAMETERS TO JAVASCRIPT VARIABLES
			var assign = parameters[0].split("=")[1];
			if(assign=="ASSIGNMENT_ID_NOT_AVAILABLE")
				{
				document.write("<p style='font-weight:bold;text-align:center;'>Link will become available once you accept the HIT.</p>");
				}
			else
				{
				var worker = parameters[2].split("=")[1];
				// ENTER SURVEY LINK BELOW:
				var surveylink = new String("http://nwipr.us2.qualtrics.com/SE/?SID=SV_1YoNM6VjRthvxCl&WorkerId=" + worker + "&AssignmentId=" + assign);
				document.write("<p style='font-weight:bold;text-align:center;'><a href=\"" + surveylink + "\" target=\"_blank\">Complete this survey</a></p>");
				}
		</script>
		<br />
		<p>After completing the survey, enter the completion code from last page here:<input type="text" id="complete" name="complete" /></p>
		<br />
	</div>
</body>
</html>